﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AutoMapper;
using FwProject.ShoppingMall.Product;

namespace FwProject.Product.Dto
{
    /// <summary>
    /// 商品参数组
    /// </summary>
    [AutoMap(typeof(ProductType_Par))]
    public class ProductTypeParInput:EntityDto<Guid>
    {
        /// <summary>
        /// 参数组名称
        /// </summary>
        [Required]
        [Display(Name ="参数组名称")]
        public string GroupName { get; set; }
        /// <summary>
        /// 产品分类id
        /// </summary>
        [Display(Name = "产品分类编号")]
        public Guid ProductTypeid { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        [IgnoreMap]
        public List<ProductTypeParvalueInput> ProductTypeParvalueInputs { get; set; }
    }
}
